<jsp:useBean id="Schadensberichte" class="beans.Schadensberichte" scope="page" />
<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Schadensberichte</title>
</head>
<body>
<form action="schadensbericht.jsp" method="post">
<textarea name="schadensberichte" cols="50" rows="10">
<%
java.util.Vector<model.Schadensbericht> vAng = Schadensberichte.getSchadensbericht(1);
for(int i=0;i<vAng.size(); i++)
{
if(vAng.get(i).getAnhaengerNummer() == 1)
{
out.println(vAng.get(i).getDatum());
out.println();
out.println(vAng.get(i).getArt());
}
}
%>
</textarea>
<input type="submit" name="submit" value="Schadensbericht laden" /> 

</form>
</body>
</html>